package com.dingwen.treasure.business;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 业务场景模拟服务 </br>
 * <pre>
 *     1. 启动异步线程池功能 @EnableAsync
 * </pre>
 *
 * @author dingwen
 * @date 2022/05/02
 */
@SpringBootApplication(scanBasePackages = {"com.dingwen.treasure","com.cdn.treasure"})
@EnableFeignClients
@EnableAsync
public class BusinessApplication {
    public static void main(String[] args) {
        SpringApplication.run(BusinessApplication.class, args);
        System.out.println(
                        "====================================================\n" +
                        "====================================================\n" +
                        "====================================================\n" +
                        "====================================================\n" +
                        "🌿🌿🌿🌿Treasure business Started successfully🌿🌿🌿🌿 \n"+
                        "====================================================\n" +
                        "====================================================\n" +
                        "====================================================\n" +
                        "====================================================\n"
        );
    }
}
